<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

// Route::get('/', function () {
//     return view('welcome');
// });

Auth::routes();

Route::any('/', 'WebController@showPicture')->name('showPicture');

Route::get('/home', 'HomeController@index')->name('home');


Route::any('/upload', 'UploadController@uploadPicture')->name('uploadPicture');

Route::any('/show', 'WebController@showPicture')->name('showPicture');

Route::any('/user', 'UserController@index')->name('user');

Route::any('/data/1', 'DataController@index')->name('data1');

Route::any('/data/1/reserve', 'DataController@reserve')->name('data1reserve');

Route::any('/data/2', 'DataController@data')->name('data2');


